package org.cerberus.platform.component.annotations;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.cerberus.platform.component.DefaultAttributeHandler;

@Target({FIELD, METHOD})
@Retention(RUNTIME)
public @interface PAttribute {

	String name() default "";
	
	FetchType fetch() default FetchType.EAGER;
	
	Class<? extends IAttributeHandler> handler() default DefaultAttributeHandler.class;
	
}
